import PageHeader from '@/components/PageHeader';
import { ResponsiveGrid, Tab } from '@alifd/next';
import List from './components/List';

function Delivery() {
  return (
    <ResponsiveGrid gap={20}>
      <ResponsiveGrid.Cell colSpan={12}>
        <PageHeader title="发货管理" breadcrumbs={[{ name: '运营中心' }, { name: '发货管理' }]} />
        <Tab shape="wrapped" unmountInactiveTabs>
          <Tab.Item title="待发货列表" key="1">
            <List />
          </Tab.Item>
          <Tab.Item title="已发货列表" key="2">
            <List receive />
          </Tab.Item>
        </Tab>
      </ResponsiveGrid.Cell>
    </ResponsiveGrid>
  );
}

export default Delivery;
